<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<title>QWiimote: QWiimote Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QWiimote
   &#160;<span id="projectnumber">1.5.0</span>
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.6.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="#pub-slots">Public Slots</a> &#124;
<a href="#signals">Signals</a> &#124;
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-attribs">Static Public Attributes</a> &#124;
<a href="#properties">Properties</a>  </div>
  <div class="headertitle">
<div class="title">QWiimote Class Reference</div>  </div>
</div><!--header-->
<div class="contents">
<!-- doxytag: class="QWiimote" -->
<p><a href="class_q_wiimote-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>WiimoteReport</b> { <br/>
&#160;&#160;<b>Input</b> =  0xa1, 
<b>Output</b> =  0xa2, 
<b>Zero</b> =  0x00, 
<b>Continuous</b> =  0x0, 
<br/>
&#160;&#160;<b>Continuous2</b> =  0x4, 
<b>WriteMemory</b> =  0x16, 
<b>ReadMemory</b> =  0x17, 
<b>Error</b> =  0x22
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>WiimoteID</b> { <br/>
&#160;&#160;<b>Led</b> =  0x11, 
<b>DataReporting</b> =  0x12, 
<b>CoreButtons</b> =  0x30, 
<b>CoreButtonsAccelerometer</b> =  0x31, 
<br/>
&#160;&#160;<b>CoreButtons8ExtensionBytes</b> =  0x32, 
<b>CoreButtonsAccelerometer12IRBytes</b> =  0x33, 
<b>CoreButtons19ExtensionBytes</b> =  0x34, 
<b>CoreButtonsAccelerometer16ExtensionBytes</b> =  0x35, 
<br/>
&#160;&#160;<b>CoreButtons10IRBytes9ExtensionBytes</b> =  0x36, 
<b>CoreButtonsAccelerometer10IRBytes6ExtensionBytes</b> =  0x37, 
<b>ExtensionBytes21</b> =  0x3d
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><b>WiimoteStatus</b> { <b>Status</b> =  0x15
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a3b16a1fe597d8dccce65cb4d4b328d81">WiimoteButton</a> { <br/>
&#160;&#160;<b>ButtonLeft</b> =  0x0100, 
<b>ButtonRight</b> =  0x0200, 
<b>ButtonDown</b> =  0x0400, 
<b>ButtonUp</b> =  0x0800, 
<br/>
&#160;&#160;<b>ButtonPlus</b> =  0x1000, 
<b>ButtonHome</b> =  0x0080, 
<b>ButtonMinus</b> =  0x0010, 
<b>ButtonTwo</b> =  0x0001, 
<br/>
&#160;&#160;<b>ButtonOne</b> =  0x0002, 
<b>ButtonB</b> =  0x0004, 
<b>ButtonA</b> =  0x0008
<br/>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#adff9fedb5c1912ef9fd368db5c6ee9be">MotionPlusState</a> { <a class="el" href="class_q_wiimote.html#adff9fedb5c1912ef9fd368db5c6ee9bea12b7431274c452065048ac7860cdc6ab">MotionPlusInactive</a>, 
<a class="el" href="class_q_wiimote.html#adff9fedb5c1912ef9fd368db5c6ee9bea25a3ddec8109876d632aaf989cfa3dd0">MotionPlusActivated</a>, 
<a class="el" href="class_q_wiimote.html#adff9fedb5c1912ef9fd368db5c6ee9bea824059e62eedeb21e0816c9ddb998615">MotionPlusWorking</a>, 
<a class="el" href="class_q_wiimote.html#adff9fedb5c1912ef9fd368db5c6ee9bea08abcaaf3df23c71001bbeb723446452">MotionPlusCalibrated</a>
 }</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a466698168bbf55bd674772232621e8b9">WiimoteLed</a> { <br/>
&#160;&#160;<b>Rumble</b> =  0x01, 
<b>Led1</b> =  0x10, 
<b>Led2</b> =  0x20, 
<b>Led3</b> =  0x40, 
<br/>
&#160;&#160;<b>Led4</b> =  0x80
<br/>
 }</td></tr>
<tr><td colspan="2"><h2><a name="pub-slots"></a>
Public Slots</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aff79d879db7b93bedc8e4d720c222699"></a><!-- doxytag: member="QWiimote::start" ref="aff79d879db7b93bedc8e4d720c222699" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>start</b> ()</td></tr>
<tr><td colspan="2"><h2><a name="signals"></a>
Signals</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac5e76f995936020a7ed778e2fcec4baf"></a><!-- doxytag: member="QWiimote::connected" ref="ac5e76f995936020a7ed778e2fcec4baf" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>connected</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae6e3008dcb9703c1ba16750116770599"></a><!-- doxytag: member="QWiimote::disconnected" ref="ae6e3008dcb9703c1ba16750116770599" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>disconnected</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a777cdaaf351cbabf9916f980d50ac491"></a><!-- doxytag: member="QWiimote::deviceSelected" ref="a777cdaaf351cbabf9916f980d50ac491" args="(QString address)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>deviceSelected</b> (QString address)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af17c75ac69505273023bf9e2828f478a"></a><!-- doxytag: member="QWiimote::powerOn" ref="af17c75ac69505273023bf9e2828f478a" args="(bool error)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>powerOn</b> (bool error)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3be654e4bd8310c493a72ab991d67c41"></a><!-- doxytag: member="QWiimote::sendCompleted" ref="a3be654e4bd8310c493a72ab991d67c41" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>sendCompleted</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab778dd2d53b77c63361a7f874c4f7cbd"></a><!-- doxytag: member="QWiimote::extentionControllerPlugged" ref="ab778dd2d53b77c63361a7f874c4f7cbd" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>extentionControllerPlugged</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a43043a361b533fa55688397884cb2948"></a><!-- doxytag: member="QWiimote::accelerometerChanged" ref="a43043a361b533fa55688397884cb2948" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>accelerometerChanged</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ad8690c597653daa47003ec08812d101e"></a><!-- doxytag: member="QWiimote::motionPlusChanged" ref="ad8690c597653daa47003ec08812d101e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>motionPlusChanged</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a00e7150583eae4eb717d5398995c6559"></a><!-- doxytag: member="QWiimote::buttonPressed" ref="a00e7150583eae4eb717d5398995c6559" args="(int button)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonPressed</b> (int button)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9bebfdec1b40be8e83998e351a3fc236"></a><!-- doxytag: member="QWiimote::buttonLeft" ref="a9bebfdec1b40be8e83998e351a3fc236" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonLeft</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4bb290faad4e9d98049a25b208b9ee93"></a><!-- doxytag: member="QWiimote::buttonRight" ref="a4bb290faad4e9d98049a25b208b9ee93" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonRight</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1c550f1f8ad7d11ca8cccc1d29271ab8"></a><!-- doxytag: member="QWiimote::buttonDown" ref="a1c550f1f8ad7d11ca8cccc1d29271ab8" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonDown</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adfc4e1dad56e355a56b5c2f5d30cb510"></a><!-- doxytag: member="QWiimote::buttonUp" ref="adfc4e1dad56e355a56b5c2f5d30cb510" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonUp</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a72a3e6aa0e6fbffcc44068468a15be27"></a><!-- doxytag: member="QWiimote::buttonPlus" ref="a72a3e6aa0e6fbffcc44068468a15be27" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonPlus</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a08fc9cb01a2afbda02822bf36f464427"></a><!-- doxytag: member="QWiimote::buttonTwo" ref="a08fc9cb01a2afbda02822bf36f464427" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonTwo</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5b92e6f713e6ced4711c703f7beb286a"></a><!-- doxytag: member="QWiimote::buttonOne" ref="a5b92e6f713e6ced4711c703f7beb286a" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonOne</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abdc40e922b8958fdae3e70e6dad1a408"></a><!-- doxytag: member="QWiimote::buttonB" ref="abdc40e922b8958fdae3e70e6dad1a408" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonB</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab1ae37c429515032aa21c1c26a93c62e"></a><!-- doxytag: member="QWiimote::buttonA" ref="ab1ae37c429515032aa21c1c26a93c62e" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonA</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a2771ecb0f0e26986f52124e465905724"></a><!-- doxytag: member="QWiimote::buttonMinus" ref="a2771ecb0f0e26986f52124e465905724" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonMinus</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4d840d2b6b31b4521257074b0024f320"></a><!-- doxytag: member="QWiimote::buttonHome" ref="a4d840d2b6b31b4521257074b0024f320" args="()" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>buttonHome</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8f5f2b3f1c019a46a412c92dd33a9f2c"></a><!-- doxytag: member="QWiimote::error" ref="a8f5f2b3f1c019a46a412c92dd33a9f2c" args="(int error)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>error</b> (int error)</td></tr>
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ab3a35f120280cfe8449ed6ef8b915672"></a><!-- doxytag: member="QWiimote::QWiimote" ref="ab3a35f120280cfe8449ed6ef8b915672" args="(QObject *parent=0)" -->
&#160;</td><td class="memItemRight" valign="bottom"><b>QWiimote</b> (QObject *parent=0)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aa16f2496d0c4bd6ebb66cf760736a52c"></a><!-- doxytag: member="QWiimote::setLed" ref="aa16f2496d0c4bd6ebb66cf760736a52c" args="(WiimoteLed led)" -->
Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><b>setLed</b> (<a class="el" href="class_q_wiimote.html#a466698168bbf55bd674772232621e8b9">WiimoteLed</a> led)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae87f32b25f0cd76c2cd12b4b8f33646e"></a><!-- doxytag: member="QWiimote::enableCoreButtons" ref="ae87f32b25f0cd76c2cd12b4b8f33646e" args="()" -->
Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><b>enableCoreButtons</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a17351cbdf13095c3a63f1c42e10dbd8d"></a><!-- doxytag: member="QWiimote::enableCoreButtonsAndAccelerometer" ref="a17351cbdf13095c3a63f1c42e10dbd8d" args="()" -->
Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><b>enableCoreButtonsAndAccelerometer</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a1f24e713dd15a3b10248eb443c6f96bd"></a><!-- doxytag: member="QWiimote::enableCoreButtonsAccelerometerExtention" ref="a1f24e713dd15a3b10248eb443c6f96bd" args="()" -->
Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><b>enableCoreButtonsAccelerometerExtention</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#abdbccf0ebc60fd9008244db99cab7ac8">enableMotionPlus</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a144c1189d00a61ea165b7b95a87e64ae">disableMotionPlus</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">Q_INVOKABLE void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#ae3f53d30519d3ac031d322ce02facf89">requestCalibrationData</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a0baf3efb1c80a111869e12110f02095a"></a><!-- doxytag: member="QWiimote::batteryLevel" ref="a0baf3efb1c80a111869e12110f02095a" args="()" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>batteryLevel</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ace15e3b2e07623255a81334140cf2dfb"></a><!-- doxytag: member="QWiimote::accelerometer" ref="ace15e3b2e07623255a81334140cf2dfb" args="() const " -->
<a class="el" href="class_q_wiimote_accelerometer_data.html">QWiimoteAccelerometerData</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>accelerometer</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a203b59c6c05579b4554903d533b4c8b2"></a><!-- doxytag: member="QWiimote::gyroscope" ref="a203b59c6c05579b4554903d533b4c8b2" args="() const " -->
<a class="el" href="class_q_wiimote_motion_plus_data.html">QWiimoteMotionPlusData</a> *&#160;</td><td class="memItemRight" valign="bottom"><b>gyroscope</b> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="acada1979dc25ee142a3a59f2f1518de3"></a><!-- doxytag: member="QWiimote::smooth" ref="acada1979dc25ee142a3a59f2f1518de3" args="()" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>smooth</b> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="af9a309ed3614a0e2c05d1cfe22e4af00"></a><!-- doxytag: member="QWiimote::setSmooth" ref="af9a309ed3614a0e2c05d1cfe22e4af00" args="(bool value)" -->
void&#160;</td><td class="memItemRight" valign="bottom"><b>setSmooth</b> (bool value)</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-attribs"></a>
Static Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a4ec8aef5183b09e8bf7e2ebd04de2fea"></a><!-- doxytag: member="QWiimote::MaxReportSize" ref="a4ec8aef5183b09e8bf7e2ebd04de2fea" args="" -->
static const int&#160;</td><td class="memItemRight" valign="bottom"><b>MaxReportSize</b> = 22</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a431fce2d26084eb931f9809efe6ec9b9"></a><!-- doxytag: member="QWiimote::smoothingAccelerometerThreshold" ref="a431fce2d26084eb931f9809efe6ec9b9" args="" -->
static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a431fce2d26084eb931f9809efe6ec9b9">smoothingAccelerometerThreshold</a> = 3</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Raw acceleration threshold for non-smoothed data. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a12048a98f2a3ac21d49ffba713f5fa34"></a><!-- doxytag: member="QWiimote::smoothingGyroscopeThreshold" ref="a12048a98f2a3ac21d49ffba713f5fa34" args="" -->
static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a12048a98f2a3ac21d49ffba713f5fa34">smoothingGyroscopeThreshold</a> = 2</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Raw gyroscope threshold for non-smoothed data. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5e9811ec6abb35c0e521665a4ac670ed"></a><!-- doxytag: member="QWiimote::smoothingMagnitudeThreshold" ref="a5e9811ec6abb35c0e521665a4ac670ed" args="" -->
static const int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a5e9811ec6abb35c0e521665a4ac670ed">smoothingMagnitudeThreshold</a> = 0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Raw magnitude threshold for non-smoothed data. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a8ef39e84637a26316df5db0a8df63c78"></a><!-- doxytag: member="QWiimote::MOTIONPLUS_TIME" ref="a8ef39e84637a26316df5db0a8df63c78" args="" -->
static const quint16&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a8ef39e84637a26316df5db0a8df63c78">MOTIONPLUS_TIME</a> = 8000</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Time required to calibrate the MotionPlus. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac1c072d3a5082e9b92db5e8d1053f9f6"></a><!-- doxytag: member="QWiimote::DEGREES_PER_SECOND_SLOW" ref="ac1c072d3a5082e9b92db5e8d1053f9f6" args="" -->
static const qreal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#ac1c072d3a5082e9b92db5e8d1053f9f6">DEGREES_PER_SECOND_SLOW</a> = 8192.0 / 595.0</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">MotionPlus speed (slow). <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a355bac3782e36e5ce2379d90c497ac4a"></a><!-- doxytag: member="QWiimote::DEGREES_PER_SECOND_FAST" ref="a355bac3782e36e5ce2379d90c497ac4a" args="" -->
static const qreal&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_q_wiimote.html#a355bac3782e36e5ce2379d90c497ac4a">DEGREES_PER_SECOND_FAST</a> = (<a class="el" href="class_q_wiimote.html#ac1c072d3a5082e9b92db5e8d1053f9f6">QWiimote::DEGREES_PER_SECOND_SLOW</a> * 440) / 2000</td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">MotionPlus speed (fast). <br/></td></tr>
<tr><td colspan="2"><h2><a name="properties"></a>
Properties</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ae94e8254f5cbc0535be832867fcbd362"></a><!-- doxytag: member="QWiimote::battery" ref="ae94e8254f5cbc0535be832867fcbd362" args="" -->
int&#160;</td><td class="memItemRight" valign="bottom"><b>battery</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="aef4f7ce7014c7f704ab98be165a45124"></a><!-- doxytag: member="QWiimote::smooth" ref="aef4f7ce7014c7f704ab98be165a45124" args="" -->
bool&#160;</td><td class="memItemRight" valign="bottom"><b>smooth</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a3ea56998396e74559e4c0b6fcfa01aef"></a><!-- doxytag: member="QWiimote::accelerometer" ref="a3ea56998396e74559e4c0b6fcfa01aef" args="" -->
<a class="el" href="class_q_wiimote_accelerometer_data.html">QWiimoteAccelerometerData</a>&#160;</td><td class="memItemRight" valign="bottom"><b>accelerometer</b></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac2b84b6c6b4302c68b916c8c5ce5a564"></a><!-- doxytag: member="QWiimote::gyroscope" ref="ac2b84b6c6b4302c68b916c8c5ce5a564" args="" -->
<a class="el" href="class_q_wiimote_motion_plus_data.html">QWiimoteMotionPlusData</a>&#160;</td><td class="memItemRight" valign="bottom"><b>gyroscope</b></td></tr>
</table>
<hr/><h2>Member Enumeration Documentation</h2>
<a class="anchor" id="adff9fedb5c1912ef9fd368db5c6ee9be"></a><!-- doxytag: member="QWiimote::MotionPlusState" ref="adff9fedb5c1912ef9fd368db5c6ee9be" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_q_wiimote.html#adff9fedb5c1912ef9fd368db5c6ee9be">QWiimote::MotionPlusState</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>State of the MotionPlus extension. </p>
<dl><dt><b>Enumerator: </b></dt><dd><table border="0" cellspacing="2" cellpadding="0">
<tr><td valign="top"><em><a class="anchor" id="adff9fedb5c1912ef9fd368db5c6ee9bea12b7431274c452065048ac7860cdc6ab"></a><!-- doxytag: member="MotionPlusInactive" ref="adff9fedb5c1912ef9fd368db5c6ee9bea12b7431274c452065048ac7860cdc6ab" args="" -->MotionPlusInactive</em>&nbsp;</td><td>
<p>Initial state. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adff9fedb5c1912ef9fd368db5c6ee9bea25a3ddec8109876d632aaf989cfa3dd0"></a><!-- doxytag: member="MotionPlusActivated" ref="adff9fedb5c1912ef9fd368db5c6ee9bea25a3ddec8109876d632aaf989cfa3dd0" args="" -->MotionPlusActivated</em>&nbsp;</td><td>
<p>The MotionPlus has been activated by the user, but not by hardware. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adff9fedb5c1912ef9fd368db5c6ee9bea824059e62eedeb21e0816c9ddb998615"></a><!-- doxytag: member="MotionPlusWorking" ref="adff9fedb5c1912ef9fd368db5c6ee9bea824059e62eedeb21e0816c9ddb998615" args="" -->MotionPlusWorking</em>&nbsp;</td><td>
<p>The MotionPlus is working but it is not calibrated. </p>
</td></tr>
<tr><td valign="top"><em><a class="anchor" id="adff9fedb5c1912ef9fd368db5c6ee9bea08abcaaf3df23c71001bbeb723446452"></a><!-- doxytag: member="MotionPlusCalibrated" ref="adff9fedb5c1912ef9fd368db5c6ee9bea08abcaaf3df23c71001bbeb723446452" args="" -->MotionPlusCalibrated</em>&nbsp;</td><td>
<p>The MotionPlus is calibrated and its data is now used. </p>
</td></tr>
</table>
</dd>
</dl>

</div>
</div>
<a class="anchor" id="a3b16a1fe597d8dccce65cb4d4b328d81"></a><!-- doxytag: member="QWiimote::WiimoteButton" ref="a3b16a1fe597d8dccce65cb4d4b328d81" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_q_wiimote.html#a3b16a1fe597d8dccce65cb4d4b328d81">QWiimote::WiimoteButton</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Flags to check if one of the Wiimote buttons has been pressed. </p>

</div>
</div>
<a class="anchor" id="a466698168bbf55bd674772232621e8b9"></a><!-- doxytag: member="QWiimote::WiimoteLed" ref="a466698168bbf55bd674772232621e8b9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="class_q_wiimote.html#a466698168bbf55bd674772232621e8b9">QWiimote::WiimoteLed</a></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Flags to check if one of the Wiimote buttons has been pressed. </p>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a144c1189d00a61ea165b7b95a87e64ae"></a><!-- doxytag: member="QWiimote::disableMotionPlus" ref="a144c1189d00a61ea165b7b95a87e64ae" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_q_wiimote.html#a144c1189d00a61ea165b7b95a87e64ae">QWiimote::disableMotionPlus</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Disable the MotionPlus extension. </p>

</div>
</div>
<a class="anchor" id="abdbccf0ebc60fd9008244db99cab7ac8"></a><!-- doxytag: member="QWiimote::enableMotionPlus" ref="abdbccf0ebc60fd9008244db99cab7ac8" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_q_wiimote.html#abdbccf0ebc60fd9008244db99cab7ac8">QWiimote::enableMotionPlus</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Enable the MotionPlus extension. </p>

</div>
</div>
<a class="anchor" id="ae3f53d30519d3ac031d322ce02facf89"></a><!-- doxytag: member="QWiimote::requestCalibrationData" ref="ae3f53d30519d3ac031d322ce02facf89" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void <a class="el" href="class_q_wiimote.html#ae3f53d30519d3ac031d322ce02facf89">QWiimote::requestCalibrationData</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<p>Request the calibration data from the Wiimote. </p>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the report was sent correctly. </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following files:<ul>
<li><a class="el" href="qwiimote_8h_source.html">qwiimote.h</a></li>
<li>qwiimote.cpp</li>
</ul>
</div><!-- contents -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Enumerator</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Sun Nov 11 2012 23:05:09 for QWiimote by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.6.1
</small></address>

</body>
</html>
